{
  "cells": [
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "<!-- language: lang-none -->\n",
        "\n",
        "    ██████╗ ███████╗████████╗ \n",
        "    ██╔══██╗██╔════╝╚══██╔══╝ \n",
        "    ██║  ██║█████╗     ██║    \n",
        "    ██║  ██║██╔══╝     ██║    \n",
        "    ██████╔╝███████╗   ██║    \n",
        "    ╚═════╝ ╚══════╝   ╚═╝    \n",
        "    \n",
        "    Deep Learning Training Platform\n",
        "    Determined AI ©️ 2020"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "### Environment"
      ]
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {},
      "outputs": [],
      "source": [
        "import subprocess\n",
        "\n",
        "try: \n",
        "    print(subprocess.check_output(\"nvidia-smi\", encoding=\"utf-8\"))\n",
        "except (FileNotFoundError, subprocess.CalledProcessError):\n",
        "    import psutil\n",
        "    print(\"No GPUs available. Number of CPUs: \", psutil.cpu_count())"
      ]
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {},
      "outputs": [],
      "source": [
        "import tensorflow\n",
        "from tensorflow import keras\n",
        "import torch\n",
        "\n",
        "print(\"TensorFlow version: \", tensorflow.__version__)\n",
        "print(\"Keras version: \", keras.__version__)\n",
        "print(\"PyTorch version: \", torch.__version__)"
      ]
    }
  ],
  "metadata": {
    "kernelspec": {
      "display_name": "Python 3",
      "language": "python",
      "name": "python3"
    },
    "language_info": {
      "codemirror_mode": {
        "name": "ipython",
        "version": 3
      },
      "file_extension": ".py",
      "mimetype": "text/x-python",
      "name": "python",
      "nbconvert_exporter": "python",
      "pygments_lexer": "ipython3",
      "version": "3.6.5"
    }
  },
  "nbformat": 4,
  "nbformat_minor": 2
}
